{extend name="Public:base2" /}

{block name="header"}
	{load href="__CSS__/product.css" /}
	<style>
		.case-nav ul {
			text-align:center;
		}
		.case-nav ul li{
			display:inline-block;
			float:none;
		}
		.pro-lists .text h3{
			text-align:left;
		}
		@media(min-width:768px){
			.pro-lists .text p{
				height:72px;
				overflow:hidden;
			}
		}
		
	</style>
{/block}

{block name="main"}
	{include file="Public:catnav" /}
	<div class="page-body bus-body">
		<div class="container">
			<div class="title">
				<h2>{$wap_catname}</h2>
				<h3>{$catname} <span></span></h3>
			</div>
			<div class="content pro-lists">
				<div class="case-nav">
					<ul>
						{cp:cat catid="43" id="r"}
						<li class="{if condition="$catid == $r['id']"}active{/if}"><a href="{$r.url}">{$r.catname}</a></li>
						{/cp:cat}
					</ul>
				</div>
				<div class="row">
					{volist name="list" id="r"}
					<div class="col-xs-12 col-sm-12 col-md-6 col-lg-4 item">
						<div class="centers">
							<div class="img"><a href="{$r.url}"><img src="{$r.thumb}" alt="" width="100%"></a></div>
							<div class="text">
								<h3><a href="{$r.url}">{$r.title|str_cut=###,30}</a></h3>
								<p>{$r.description|str_cut=###,100}</p>
							</div>
						</div>
					</div>
					{/volist}
				</div>
				<div class="cp-pages">{$pages}</div>
			</div>
		</div>
	</div>

	<script>
		$('.catnav-box .catnav-lists ul li').eq(1).addClass('active');
	</script>
{/block}